package com.xgd.phylw.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class MovieExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MovieExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andMovieIdIsNull() {
            addCriterion("movie_id is null");
            return (Criteria) this;
        }

        public Criteria andMovieIdIsNotNull() {
            addCriterion("movie_id is not null");
            return (Criteria) this;
        }

        public Criteria andMovieIdEqualTo(Integer value) {
            addCriterion("movie_id =", value, "movieId");
            return (Criteria) this;
        }

        public Criteria andMovieIdNotEqualTo(Integer value) {
            addCriterion("movie_id <>", value, "movieId");
            return (Criteria) this;
        }

        public Criteria andMovieIdGreaterThan(Integer value) {
            addCriterion("movie_id >", value, "movieId");
            return (Criteria) this;
        }

        public Criteria andMovieIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("movie_id >=", value, "movieId");
            return (Criteria) this;
        }

        public Criteria andMovieIdLessThan(Integer value) {
            addCriterion("movie_id <", value, "movieId");
            return (Criteria) this;
        }

        public Criteria andMovieIdLessThanOrEqualTo(Integer value) {
            addCriterion("movie_id <=", value, "movieId");
            return (Criteria) this;
        }

        public Criteria andMovieIdIn(List<Integer> values) {
            addCriterion("movie_id in", values, "movieId");
            return (Criteria) this;
        }

        public Criteria andMovieIdNotIn(List<Integer> values) {
            addCriterion("movie_id not in", values, "movieId");
            return (Criteria) this;
        }

        public Criteria andMovieIdBetween(Integer value1, Integer value2) {
            addCriterion("movie_id between", value1, value2, "movieId");
            return (Criteria) this;
        }

        public Criteria andMovieIdNotBetween(Integer value1, Integer value2) {
            addCriterion("movie_id not between", value1, value2, "movieId");
            return (Criteria) this;
        }

        public Criteria andMovieNameIsNull() {
            addCriterion("movie_name is null");
            return (Criteria) this;
        }

        public Criteria andMovieNameIsNotNull() {
            addCriterion("movie_name is not null");
            return (Criteria) this;
        }

        public Criteria andMovieNameEqualTo(String value) {
            addCriterion("movie_name =", value, "movieName");
            return (Criteria) this;
        }

        public Criteria andMovieNameNotEqualTo(String value) {
            addCriterion("movie_name <>", value, "movieName");
            return (Criteria) this;
        }

        public Criteria andMovieNameGreaterThan(String value) {
            addCriterion("movie_name >", value, "movieName");
            return (Criteria) this;
        }

        public Criteria andMovieNameGreaterThanOrEqualTo(String value) {
            addCriterion("movie_name >=", value, "movieName");
            return (Criteria) this;
        }

        public Criteria andMovieNameLessThan(String value) {
            addCriterion("movie_name <", value, "movieName");
            return (Criteria) this;
        }

        public Criteria andMovieNameLessThanOrEqualTo(String value) {
            addCriterion("movie_name <=", value, "movieName");
            return (Criteria) this;
        }

        public Criteria andMovieNameLike(String value) {
            addCriterion("movie_name like", value, "movieName");
            return (Criteria) this;
        }

        public Criteria andMovieNameNotLike(String value) {
            addCriterion("movie_name not like", value, "movieName");
            return (Criteria) this;
        }

        public Criteria andMovieNameIn(List<String> values) {
            addCriterion("movie_name in", values, "movieName");
            return (Criteria) this;
        }

        public Criteria andMovieNameNotIn(List<String> values) {
            addCriterion("movie_name not in", values, "movieName");
            return (Criteria) this;
        }

        public Criteria andMovieNameBetween(String value1, String value2) {
            addCriterion("movie_name between", value1, value2, "movieName");
            return (Criteria) this;
        }

        public Criteria andMovieNameNotBetween(String value1, String value2) {
            addCriterion("movie_name not between", value1, value2, "movieName");
            return (Criteria) this;
        }

        public Criteria andMovieImgIsNull() {
            addCriterion("movie_img is null");
            return (Criteria) this;
        }

        public Criteria andMovieImgIsNotNull() {
            addCriterion("movie_img is not null");
            return (Criteria) this;
        }

        public Criteria andMovieImgEqualTo(String value) {
            addCriterion("movie_img =", value, "movieImg");
            return (Criteria) this;
        }

        public Criteria andMovieImgNotEqualTo(String value) {
            addCriterion("movie_img <>", value, "movieImg");
            return (Criteria) this;
        }

        public Criteria andMovieImgGreaterThan(String value) {
            addCriterion("movie_img >", value, "movieImg");
            return (Criteria) this;
        }

        public Criteria andMovieImgGreaterThanOrEqualTo(String value) {
            addCriterion("movie_img >=", value, "movieImg");
            return (Criteria) this;
        }

        public Criteria andMovieImgLessThan(String value) {
            addCriterion("movie_img <", value, "movieImg");
            return (Criteria) this;
        }

        public Criteria andMovieImgLessThanOrEqualTo(String value) {
            addCriterion("movie_img <=", value, "movieImg");
            return (Criteria) this;
        }

        public Criteria andMovieImgLike(String value) {
            addCriterion("movie_img like", value, "movieImg");
            return (Criteria) this;
        }

        public Criteria andMovieImgNotLike(String value) {
            addCriterion("movie_img not like", value, "movieImg");
            return (Criteria) this;
        }

        public Criteria andMovieImgIn(List<String> values) {
            addCriterion("movie_img in", values, "movieImg");
            return (Criteria) this;
        }

        public Criteria andMovieImgNotIn(List<String> values) {
            addCriterion("movie_img not in", values, "movieImg");
            return (Criteria) this;
        }

        public Criteria andMovieImgBetween(String value1, String value2) {
            addCriterion("movie_img between", value1, value2, "movieImg");
            return (Criteria) this;
        }

        public Criteria andMovieImgNotBetween(String value1, String value2) {
            addCriterion("movie_img not between", value1, value2, "movieImg");
            return (Criteria) this;
        }

        public Criteria andMovieTimeIsNull() {
            addCriterion("movie_time is null");
            return (Criteria) this;
        }

        public Criteria andMovieTimeIsNotNull() {
            addCriterion("movie_time is not null");
            return (Criteria) this;
        }

        public Criteria andMovieTimeEqualTo(Integer value) {
            addCriterion("movie_time =", value, "movieTime");
            return (Criteria) this;
        }

        public Criteria andMovieTimeNotEqualTo(Integer value) {
            addCriterion("movie_time <>", value, "movieTime");
            return (Criteria) this;
        }

        public Criteria andMovieTimeGreaterThan(Integer value) {
            addCriterion("movie_time >", value, "movieTime");
            return (Criteria) this;
        }

        public Criteria andMovieTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("movie_time >=", value, "movieTime");
            return (Criteria) this;
        }

        public Criteria andMovieTimeLessThan(Integer value) {
            addCriterion("movie_time <", value, "movieTime");
            return (Criteria) this;
        }

        public Criteria andMovieTimeLessThanOrEqualTo(Integer value) {
            addCriterion("movie_time <=", value, "movieTime");
            return (Criteria) this;
        }

        public Criteria andMovieTimeIn(List<Integer> values) {
            addCriterion("movie_time in", values, "movieTime");
            return (Criteria) this;
        }

        public Criteria andMovieTimeNotIn(List<Integer> values) {
            addCriterion("movie_time not in", values, "movieTime");
            return (Criteria) this;
        }

        public Criteria andMovieTimeBetween(Integer value1, Integer value2) {
            addCriterion("movie_time between", value1, value2, "movieTime");
            return (Criteria) this;
        }

        public Criteria andMovieTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("movie_time not between", value1, value2, "movieTime");
            return (Criteria) this;
        }

        public Criteria andMovieProtagonistIsNull() {
            addCriterion("movie_protagonist is null");
            return (Criteria) this;
        }

        public Criteria andMovieProtagonistIsNotNull() {
            addCriterion("movie_protagonist is not null");
            return (Criteria) this;
        }

        public Criteria andMovieProtagonistEqualTo(String value) {
            addCriterion("movie_protagonist =", value, "movieProtagonist");
            return (Criteria) this;
        }

        public Criteria andMovieProtagonistNotEqualTo(String value) {
            addCriterion("movie_protagonist <>", value, "movieProtagonist");
            return (Criteria) this;
        }

        public Criteria andMovieProtagonistGreaterThan(String value) {
            addCriterion("movie_protagonist >", value, "movieProtagonist");
            return (Criteria) this;
        }

        public Criteria andMovieProtagonistGreaterThanOrEqualTo(String value) {
            addCriterion("movie_protagonist >=", value, "movieProtagonist");
            return (Criteria) this;
        }

        public Criteria andMovieProtagonistLessThan(String value) {
            addCriterion("movie_protagonist <", value, "movieProtagonist");
            return (Criteria) this;
        }

        public Criteria andMovieProtagonistLessThanOrEqualTo(String value) {
            addCriterion("movie_protagonist <=", value, "movieProtagonist");
            return (Criteria) this;
        }

        public Criteria andMovieProtagonistLike(String value) {
            addCriterion("movie_protagonist like", value, "movieProtagonist");
            return (Criteria) this;
        }

        public Criteria andMovieProtagonistNotLike(String value) {
            addCriterion("movie_protagonist not like", value, "movieProtagonist");
            return (Criteria) this;
        }

        public Criteria andMovieProtagonistIn(List<String> values) {
            addCriterion("movie_protagonist in", values, "movieProtagonist");
            return (Criteria) this;
        }

        public Criteria andMovieProtagonistNotIn(List<String> values) {
            addCriterion("movie_protagonist not in", values, "movieProtagonist");
            return (Criteria) this;
        }

        public Criteria andMovieProtagonistBetween(String value1, String value2) {
            addCriterion("movie_protagonist between", value1, value2, "movieProtagonist");
            return (Criteria) this;
        }

        public Criteria andMovieProtagonistNotBetween(String value1, String value2) {
            addCriterion("movie_protagonist not between", value1, value2, "movieProtagonist");
            return (Criteria) this;
        }

        public Criteria andMovieDirectorIsNull() {
            addCriterion("movie_director is null");
            return (Criteria) this;
        }

        public Criteria andMovieDirectorIsNotNull() {
            addCriterion("movie_director is not null");
            return (Criteria) this;
        }

        public Criteria andMovieDirectorEqualTo(String value) {
            addCriterion("movie_director =", value, "movieDirector");
            return (Criteria) this;
        }

        public Criteria andMovieDirectorNotEqualTo(String value) {
            addCriterion("movie_director <>", value, "movieDirector");
            return (Criteria) this;
        }

        public Criteria andMovieDirectorGreaterThan(String value) {
            addCriterion("movie_director >", value, "movieDirector");
            return (Criteria) this;
        }

        public Criteria andMovieDirectorGreaterThanOrEqualTo(String value) {
            addCriterion("movie_director >=", value, "movieDirector");
            return (Criteria) this;
        }

        public Criteria andMovieDirectorLessThan(String value) {
            addCriterion("movie_director <", value, "movieDirector");
            return (Criteria) this;
        }

        public Criteria andMovieDirectorLessThanOrEqualTo(String value) {
            addCriterion("movie_director <=", value, "movieDirector");
            return (Criteria) this;
        }

        public Criteria andMovieDirectorLike(String value) {
            addCriterion("movie_director like", value, "movieDirector");
            return (Criteria) this;
        }

        public Criteria andMovieDirectorNotLike(String value) {
            addCriterion("movie_director not like", value, "movieDirector");
            return (Criteria) this;
        }

        public Criteria andMovieDirectorIn(List<String> values) {
            addCriterion("movie_director in", values, "movieDirector");
            return (Criteria) this;
        }

        public Criteria andMovieDirectorNotIn(List<String> values) {
            addCriterion("movie_director not in", values, "movieDirector");
            return (Criteria) this;
        }

        public Criteria andMovieDirectorBetween(String value1, String value2) {
            addCriterion("movie_director between", value1, value2, "movieDirector");
            return (Criteria) this;
        }

        public Criteria andMovieDirectorNotBetween(String value1, String value2) {
            addCriterion("movie_director not between", value1, value2, "movieDirector");
            return (Criteria) this;
        }

        public Criteria andMovieDescribeIsNull() {
            addCriterion("movie_describe is null");
            return (Criteria) this;
        }

        public Criteria andMovieDescribeIsNotNull() {
            addCriterion("movie_describe is not null");
            return (Criteria) this;
        }

        public Criteria andMovieDescribeEqualTo(String value) {
            addCriterion("movie_describe =", value, "movieDescribe");
            return (Criteria) this;
        }

        public Criteria andMovieDescribeNotEqualTo(String value) {
            addCriterion("movie_describe <>", value, "movieDescribe");
            return (Criteria) this;
        }

        public Criteria andMovieDescribeGreaterThan(String value) {
            addCriterion("movie_describe >", value, "movieDescribe");
            return (Criteria) this;
        }

        public Criteria andMovieDescribeGreaterThanOrEqualTo(String value) {
            addCriterion("movie_describe >=", value, "movieDescribe");
            return (Criteria) this;
        }

        public Criteria andMovieDescribeLessThan(String value) {
            addCriterion("movie_describe <", value, "movieDescribe");
            return (Criteria) this;
        }

        public Criteria andMovieDescribeLessThanOrEqualTo(String value) {
            addCriterion("movie_describe <=", value, "movieDescribe");
            return (Criteria) this;
        }

        public Criteria andMovieDescribeLike(String value) {
            addCriterion("movie_describe like", value, "movieDescribe");
            return (Criteria) this;
        }

        public Criteria andMovieDescribeNotLike(String value) {
            addCriterion("movie_describe not like", value, "movieDescribe");
            return (Criteria) this;
        }

        public Criteria andMovieDescribeIn(List<String> values) {
            addCriterion("movie_describe in", values, "movieDescribe");
            return (Criteria) this;
        }

        public Criteria andMovieDescribeNotIn(List<String> values) {
            addCriterion("movie_describe not in", values, "movieDescribe");
            return (Criteria) this;
        }

        public Criteria andMovieDescribeBetween(String value1, String value2) {
            addCriterion("movie_describe between", value1, value2, "movieDescribe");
            return (Criteria) this;
        }

        public Criteria andMovieDescribeNotBetween(String value1, String value2) {
            addCriterion("movie_describe not between", value1, value2, "movieDescribe");
            return (Criteria) this;
        }

        public Criteria andMovieTempIsNull() {
            addCriterion("movie_temp is null");
            return (Criteria) this;
        }

        public Criteria andMovieTempIsNotNull() {
            addCriterion("movie_temp is not null");
            return (Criteria) this;
        }

        public Criteria andMovieTempEqualTo(Integer value) {
            addCriterion("movie_temp =", value, "movieTemp");
            return (Criteria) this;
        }

        public Criteria andMovieTempNotEqualTo(Integer value) {
            addCriterion("movie_temp <>", value, "movieTemp");
            return (Criteria) this;
        }

        public Criteria andMovieTempGreaterThan(Integer value) {
            addCriterion("movie_temp >", value, "movieTemp");
            return (Criteria) this;
        }

        public Criteria andMovieTempGreaterThanOrEqualTo(Integer value) {
            addCriterion("movie_temp >=", value, "movieTemp");
            return (Criteria) this;
        }

        public Criteria andMovieTempLessThan(Integer value) {
            addCriterion("movie_temp <", value, "movieTemp");
            return (Criteria) this;
        }

        public Criteria andMovieTempLessThanOrEqualTo(Integer value) {
            addCriterion("movie_temp <=", value, "movieTemp");
            return (Criteria) this;
        }

        public Criteria andMovieTempIn(List<Integer> values) {
            addCriterion("movie_temp in", values, "movieTemp");
            return (Criteria) this;
        }

        public Criteria andMovieTempNotIn(List<Integer> values) {
            addCriterion("movie_temp not in", values, "movieTemp");
            return (Criteria) this;
        }

        public Criteria andMovieTempBetween(Integer value1, Integer value2) {
            addCriterion("movie_temp between", value1, value2, "movieTemp");
            return (Criteria) this;
        }

        public Criteria andMovieTempNotBetween(Integer value1, Integer value2) {
            addCriterion("movie_temp not between", value1, value2, "movieTemp");
            return (Criteria) this;
        }

        public Criteria andMovieNumIsNull() {
            addCriterion("movie_num is null");
            return (Criteria) this;
        }

        public Criteria andMovieNumIsNotNull() {
            addCriterion("movie_num is not null");
            return (Criteria) this;
        }

        public Criteria andMovieNumEqualTo(Double value) {
            addCriterion("movie_num =", value, "movieNum");
            return (Criteria) this;
        }

        public Criteria andMovieNumNotEqualTo(Double value) {
            addCriterion("movie_num <>", value, "movieNum");
            return (Criteria) this;
        }

        public Criteria andMovieNumGreaterThan(Double value) {
            addCriterion("movie_num >", value, "movieNum");
            return (Criteria) this;
        }

        public Criteria andMovieNumGreaterThanOrEqualTo(Double value) {
            addCriterion("movie_num >=", value, "movieNum");
            return (Criteria) this;
        }

        public Criteria andMovieNumLessThan(Double value) {
            addCriterion("movie_num <", value, "movieNum");
            return (Criteria) this;
        }

        public Criteria andMovieNumLessThanOrEqualTo(Double value) {
            addCriterion("movie_num <=", value, "movieNum");
            return (Criteria) this;
        }

        public Criteria andMovieNumIn(List<Double> values) {
            addCriterion("movie_num in", values, "movieNum");
            return (Criteria) this;
        }

        public Criteria andMovieNumNotIn(List<Double> values) {
            addCriterion("movie_num not in", values, "movieNum");
            return (Criteria) this;
        }

        public Criteria andMovieNumBetween(Double value1, Double value2) {
            addCriterion("movie_num between", value1, value2, "movieNum");
            return (Criteria) this;
        }

        public Criteria andMovieNumNotBetween(Double value1, Double value2) {
            addCriterion("movie_num not between", value1, value2, "movieNum");
            return (Criteria) this;
        }

        public Criteria andMovieReleaseIsNull() {
            addCriterion("movie_release is null");
            return (Criteria) this;
        }

        public Criteria andMovieReleaseIsNotNull() {
            addCriterion("movie_release is not null");
            return (Criteria) this;
        }

        public Criteria andMovieReleaseEqualTo(Date value) {
            addCriterionForJDBCDate("movie_release =", value, "movieRelease");
            return (Criteria) this;
        }

        public Criteria andMovieReleaseNotEqualTo(Date value) {
            addCriterionForJDBCDate("movie_release <>", value, "movieRelease");
            return (Criteria) this;
        }

        public Criteria andMovieReleaseGreaterThan(Date value) {
            addCriterionForJDBCDate("movie_release >", value, "movieRelease");
            return (Criteria) this;
        }

        public Criteria andMovieReleaseGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("movie_release >=", value, "movieRelease");
            return (Criteria) this;
        }

        public Criteria andMovieReleaseLessThan(Date value) {
            addCriterionForJDBCDate("movie_release <", value, "movieRelease");
            return (Criteria) this;
        }

        public Criteria andMovieReleaseLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("movie_release <=", value, "movieRelease");
            return (Criteria) this;
        }

        public Criteria andMovieReleaseIn(List<Date> values) {
            addCriterionForJDBCDate("movie_release in", values, "movieRelease");
            return (Criteria) this;
        }

        public Criteria andMovieReleaseNotIn(List<Date> values) {
            addCriterionForJDBCDate("movie_release not in", values, "movieRelease");
            return (Criteria) this;
        }

        public Criteria andMovieReleaseBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("movie_release between", value1, value2, "movieRelease");
            return (Criteria) this;
        }

        public Criteria andMovieReleaseNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("movie_release not between", value1, value2, "movieRelease");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}